package ua.khuta.myskidka;

import android.database.Cursor;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

public class FragmentPlaceInfo extends Fragment {
	View v;
	int companyID;
	Database db;
	@Override
	public View onCreateView(LayoutInflater inflater, ViewGroup container,
			Bundle savedInstanceState) {
		v=inflater.inflate(R.layout.fragment_place_info, null);
		db=Database.getInstance(getActivity());
		Bundle bund = getArguments();
		companyID=bund.getInt("companyId");
		//Cursor c=db.getPlaceById(companyID);
		return v;
	}
	

}
